package com.hliushi.domain;

/**
 * 电梯系统的外部输入端
 *
 * @author: hliushi
 * @date: 2023/2/18 22:03
 **/
public class ExternalRequest extends Request {

    private Direction direction;

    public ExternalRequest(int level, Direction direction) {
        super(level);
        this.direction = direction;
    }

    public Direction getDirection() {
        return direction;
    }

    public void setDirection(Direction direction) {
        this.direction = direction;
    }
}
